package com.longrise.filedownloader.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

/**
 * Created by xkj on 16/4/13.
 *
 */
public class SQLiteHelper extends SQLiteOpenHelper {
    private static final String mDataBaseName = "longrisebbdownload";

    private static int DATABASE_VERSION = 1;

    public SQLiteHelper(Context context){

        super(context,mDataBaseName,null,DATABASE_VERSION);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {

        db.execSQL(SQLConstants.CREATE_DOWNLOAD_SQL);
    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }
}
